package com.itsol.smartphone.dao;

import java.util.List;

import com.itsol.smartphone.entity.Smartphone;
import com.itsol.smartphone.exception.SmartphoneNotFoundException;

public interface SmartphoneDAO {
	public Smartphone create(Smartphone sp);
	public Smartphone get(Integer id);
	public List<Smartphone> getAll();
	public Smartphone update(Smartphone sp) throws SmartphoneNotFoundException;
	public Smartphone delete(Integer id) throws SmartphoneNotFoundException;
}
